package com.shop.manager.service;
//import com.shop.manager.entity.Goods;
//import com.shop.manager.entity.Item;
import com.base.common.entity.Goods;
import com.base.common.entity.Item;
import com.base.common.http.PageResult;
//import com.shop.manager.http.PageResult;

import java.util.List;
import java.util.Map;

/**
 * 功能描述：产品service
*/
public interface GoodsService extends BaseService<Goods> {

    List<Item> getItemsByGoodsIds(List<Long> ids);

    int updateStatus(List<Long> ids, String status);

    int addGoods(Goods goods);

    int deleteGoods(List<Long> ids);

    int updateGoods(Goods goods);

    Goods getByGoodsId(Long id);

    PageResult getAllGoods(Integer pageNum, Integer size, Goods goods);

    Map<String, Object> querySpecificationOption(Long typeTemplateId);

}
